<?php
header('Content-type: text/plain; charset=utf-8;');

include('../../bootstrap.php');
use Symfony\Component\HttpFoundation\Request;
use Game\Entity\Character;

$em = App\Globals::init()->getEntityManager();

$person = $em->getRepository('Game\Entity\Person')->find(2);
$person instanceof Character;
$person->addAction(new \Game\Action\Character\ShowActionsAction);

$request = Request::createFromGlobals();

$executer = new \Game\CommandExecuter();
echo $executer->execute($person, $request);